package  
{
	import flash.display.MovieClip;
	import Levels.Level;
	import Util.Directions;
	/**
	 * ...
	 * @author Thiago Gomes da Silva
	 */
	public class Enemy extends MovieClip
	{
		private var speed:Number;
		private var level:Level;
		private var canMove:Boolean = true;
		
		public function Enemy(speed:Number, level:Level)
		{
			this.speed = speed;
		}
		
		public function getSpeed():Number
		{
			return speed;
		}
		
		public function setSpeed(v:Number):void
		{
			this.speed = v;
		}
		
		public function disableMovement():void
		{
			canMove = false;
		}
		
		public function update()
		{
			if (canMove)
			{
				this.y += speed;
			}
			
		}
	}

}